package com.zhu.tool_test.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 同步表信息
 * </p>
 *
 * @author ggBall
 * @since 2021-02-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SyncTableInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 表名
     */
    private String tableName;

    /**
     * 同步条数
     */
    private Long syncNum;

    /**
     * 最后统计时间
     */
    private Date latestTime;

    /**
     * 中文名称
     */
    private String cnName;

    /**
     * 备注
     */
    private String remark;

    private Date updateTime;

    private Date createTime;


}
